<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: pcl::Supervoxel&lt; PointT &gt; 模板类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classpcl_1_1_supervoxel.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="classpcl_1_1_supervoxel-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">pcl::Supervoxel&lt; PointT &gt; 模板类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p><a class="el" href="classpcl_1_1_supervoxel.html" title="Supervoxel container class - stores a cluster extracted using supervoxel clustering">Supervoxel</a> container class - stores a cluster extracted using supervoxel clustering  
 <a href="classpcl_1_1_supervoxel.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="supervoxel__clustering_8h_source.html">supervoxel_clustering.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:a482db540dcff614a4660bc971400108b"><td class="memItemLeft" align="right" valign="top"><a id="a482db540dcff614a4660bc971400108b"></a>
typedef boost::shared_ptr&lt; <a class="el" href="classpcl_1_1_supervoxel.html">Supervoxel</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Ptr</b></td></tr>
<tr class="separator:a482db540dcff614a4660bc971400108b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb5ad76a82071807919b43c86b5ea8cf"><td class="memItemLeft" align="right" valign="top"><a id="abb5ad76a82071807919b43c86b5ea8cf"></a>
typedef boost::shared_ptr&lt; const <a class="el" href="classpcl_1_1_supervoxel.html">Supervoxel</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>ConstPtr</b></td></tr>
<tr class="separator:abb5ad76a82071807919b43c86b5ea8cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a46acabfc3f8bdafe2368f74256823246"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_supervoxel.html#a46acabfc3f8bdafe2368f74256823246">getCentroidPoint</a> (<a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointXYZRGBA</a> &amp;centroid_arg)</td></tr>
<tr class="memdesc:a46acabfc3f8bdafe2368f74256823246"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the centroid of the supervoxel  <a href="classpcl_1_1_supervoxel.html#a46acabfc3f8bdafe2368f74256823246">更多...</a><br /></td></tr>
<tr class="separator:a46acabfc3f8bdafe2368f74256823246"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af512a4e522c7d6493374210c825d7ccb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_supervoxel.html#af512a4e522c7d6493374210c825d7ccb">getCentroidPointNormal</a> (<a class="el" href="structpcl_1_1_point_normal.html">PointNormal</a> &amp;normal_arg)</td></tr>
<tr class="memdesc:af512a4e522c7d6493374210c825d7ccb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the point normal for the supervoxel  <a href="classpcl_1_1_supervoxel.html#af512a4e522c7d6493374210c825d7ccb">更多...</a><br /></td></tr>
<tr class="separator:af512a4e522c7d6493374210c825d7ccb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:ac5769d51f73778b13c485deb6f326950"><td class="memItemLeft" align="right" valign="top"><a id="ac5769d51f73778b13c485deb6f326950"></a>
<a class="el" href="structpcl_1_1_normal.html">pcl::Normal</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_supervoxel.html#ac5769d51f73778b13c485deb6f326950">normal_</a></td></tr>
<tr class="memdesc:ac5769d51f73778b13c485deb6f326950"><td class="mdescLeft">&#160;</td><td class="mdescRight">The normal calculated for the voxels contained in the supervoxel <br /></td></tr>
<tr class="separator:ac5769d51f73778b13c485deb6f326950"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a030f374dc5b401d58592add3e9c330e1"><td class="memItemLeft" align="right" valign="top"><a id="a030f374dc5b401d58592add3e9c330e1"></a>
<a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">pcl::PointXYZRGBA</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_supervoxel.html#a030f374dc5b401d58592add3e9c330e1">centroid_</a></td></tr>
<tr class="memdesc:a030f374dc5b401d58592add3e9c330e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">The centroid of the supervoxel - average voxel <br /></td></tr>
<tr class="separator:a030f374dc5b401d58592add3e9c330e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83cc05dd28539a410a0b5a0267296baa"><td class="memItemLeft" align="right" valign="top"><a id="a83cc05dd28539a410a0b5a0267296baa"></a>
<a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::Ptr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_supervoxel.html#a83cc05dd28539a410a0b5a0267296baa">voxels_</a></td></tr>
<tr class="memdesc:a83cc05dd28539a410a0b5a0267296baa"><td class="mdescLeft">&#160;</td><td class="mdescRight">A Pointcloud of the voxels in the supervoxel <br /></td></tr>
<tr class="separator:a83cc05dd28539a410a0b5a0267296baa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e3cb9e534a1c1b0b66cfccb06a79ee0"><td class="memItemLeft" align="right" valign="top"><a id="a1e3cb9e534a1c1b0b66cfccb06a79ee0"></a>
<a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_normal.html">Normal</a> &gt;::Ptr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_supervoxel.html#a1e3cb9e534a1c1b0b66cfccb06a79ee0">normals_</a></td></tr>
<tr class="memdesc:a1e3cb9e534a1c1b0b66cfccb06a79ee0"><td class="mdescLeft">&#160;</td><td class="mdescRight">A Pointcloud of the normals for the points in the supervoxel <br /></td></tr>
<tr class="separator:a1e3cb9e534a1c1b0b66cfccb06a79ee0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><h3>template&lt;typename PointT&gt;<br />
class pcl::Supervoxel&lt; PointT &gt;</h3>

<p><a class="el" href="classpcl_1_1_supervoxel.html" title="Supervoxel container class - stores a cluster extracted using supervoxel clustering">Supervoxel</a> container class - stores a cluster extracted using supervoxel clustering </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a46acabfc3f8bdafe2368f74256823246"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a46acabfc3f8bdafe2368f74256823246">&#9670;&nbsp;</a></span>getCentroidPoint()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classpcl_1_1_supervoxel.html">pcl::Supervoxel</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::getCentroidPoint </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointXYZRGBA</a> &amp;&#160;</td>
          <td class="paramname"><em>centroid_arg</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Gets the centroid of the supervoxel </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">centroid_arg</td><td>centroid of the supervoxel </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;      {</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;        centroid_arg = <a class="code" href="classpcl_1_1_supervoxel.html#a030f374dc5b401d58592add3e9c330e1">centroid_</a>;</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;      }</div>
<div class="ttc" id="aclasspcl_1_1_supervoxel_html_a030f374dc5b401d58592add3e9c330e1"><div class="ttname"><a href="classpcl_1_1_supervoxel.html#a030f374dc5b401d58592add3e9c330e1">pcl::Supervoxel::centroid_</a></div><div class="ttdeci">pcl::PointXYZRGBA centroid_</div><div class="ttdoc">The centroid of the supervoxel - average voxel</div><div class="ttdef"><b>Definition:</b> supervoxel_clustering.h:103</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="af512a4e522c7d6493374210c825d7ccb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af512a4e522c7d6493374210c825d7ccb">&#9670;&nbsp;</a></span>getCentroidPointNormal()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classpcl_1_1_supervoxel.html">pcl::Supervoxel</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::getCentroidPointNormal </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structpcl_1_1_point_normal.html">PointNormal</a> &amp;&#160;</td>
          <td class="paramname"><em>normal_arg</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Gets the point normal for the supervoxel </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">normal_arg</td><td>Point normal of the supervoxel </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>注解</dt><dd>This isn't an average, it is a normal computed using all of the voxels in the supervoxel as support </dd></dl>
<div class="fragment"><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;      {</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;        normal_arg.x = <a class="code" href="classpcl_1_1_supervoxel.html#a030f374dc5b401d58592add3e9c330e1">centroid_</a>.x;</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;        normal_arg.y = <a class="code" href="classpcl_1_1_supervoxel.html#a030f374dc5b401d58592add3e9c330e1">centroid_</a>.y;</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;        normal_arg.z = <a class="code" href="classpcl_1_1_supervoxel.html#a030f374dc5b401d58592add3e9c330e1">centroid_</a>.z;</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;        normal_arg.normal_x = <a class="code" href="classpcl_1_1_supervoxel.html#ac5769d51f73778b13c485deb6f326950">normal_</a>.normal_x;</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;        normal_arg.normal_y = <a class="code" href="classpcl_1_1_supervoxel.html#ac5769d51f73778b13c485deb6f326950">normal_</a>.normal_y;</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;        normal_arg.normal_z = <a class="code" href="classpcl_1_1_supervoxel.html#ac5769d51f73778b13c485deb6f326950">normal_</a>.normal_z;</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;        normal_arg.curvature = <a class="code" href="classpcl_1_1_supervoxel.html#ac5769d51f73778b13c485deb6f326950">normal_</a>.curvature;</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;      }</div>
<div class="ttc" id="aclasspcl_1_1_supervoxel_html_ac5769d51f73778b13c485deb6f326950"><div class="ttname"><a href="classpcl_1_1_supervoxel.html#ac5769d51f73778b13c485deb6f326950">pcl::Supervoxel::normal_</a></div><div class="ttdeci">pcl::Normal normal_</div><div class="ttdoc">The normal calculated for the voxels contained in the supervoxel</div><div class="ttdef"><b>Definition:</b> supervoxel_clustering.h:101</div></div>
</div><!-- fragment -->
</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>segmentation/include/pcl/segmentation/<a class="el" href="supervoxel__clustering_8h_source.html">supervoxel_clustering.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>pcl</b></li><li class="navelem"><a class="el" href="classpcl_1_1_supervoxel.html">Supervoxel</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
